This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Developed as a part of World of Zero: https://youtu.be/b4utgRuIekk | |
| Shader "Custom/RevealingShader" { | |
| Properties { | |
| _Color ("Color", Color) = (1,1,1,1) | |
| _MainTex ("Albedo (RGB)", 2D) = "white" {} | |
| _Glossiness ("Smoothness", Range(0,1)) = 0.5 | |
| _Metallic ("Metallic", Range(0,1)) = 0.0 | |
| _LightDirection("Light Direction", Vector) = (0,0,1,0) | |
| _LightPosition("Light Position", Vector) = (0,0,0,0) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <IfModule mod_rewrite.c> | |
| <IfModule mod_negotiation.c> | |
| Options -MultiViews | |
| </IfModule> | |
| <IfModule mod_autoindex.c> | |
| Options -Indexes | |
| </IfModule> | |
| RewriteEngine On |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Apache configuration file | |
| # httpd.apache.org/docs/2.2/mod/quickreference.html | |
| # Note .htaccess files are an overhead, this logic should be in your Apache | |
| # config if possible: httpd.apache.org/docs/2.2/howto/htaccess.html | |
| # Techniques in here adapted from all over, including: | |
| # Kroc Camen: camendesign.com/.htaccess | |
| # perishablepress.com/press/2006/01/10/stupid-htaccess-tricks/ | |
| # Sample .htaccess file of CMS MODx: modxcms.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* This is tested with 6.2.9 only */ | |
| namespace MY\Extension\Controller; | |
| class MyController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionController { | |
| private $ajaxPageType = 133799; | |
| /** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using System.Collections; | |
| /** | |
| * This class attempts to force VERT- Field of view scaling. | |
| * By default, Unity uses the HOR+ technique. | |
| * | |
| * http://en.wikipedia.org/wiki/Field_of_view_in_video_games#Scaling_methods | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Internationalization | |
| * | |
| * Author: Daniel Erdmann | |
| * | |
| * 1. Add this File to you Project | |
| * | |
| * 2. Add the language files to the folder Assets/Resources/I18n. (Filesnames: en.txt, es.txt, pt.txt, de.txt, and so on) | |
| * Format: en.txt: es.txt: | |
| * =============== ================= |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // set-up a connection between the client and the server | |
| var socket = io.connect(); | |
| // let's assume that the client page, once rendered, knows what room it wants to join | |
| var room = "abc123"; | |
| socket.on('connect', function() { | |
| // Connected, let's sign-up for to receive messages for this room | |
| socket.emit('room', room); | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| /* | |
| * Created by C.J. Kimberlin (http://cjkimberlin.com) | |
| * | |
| * The MIT License (MIT) | |
| * | |
| * Copyright (c) 2015 | |
| * | |
| * Permission is hereby granted, free of charge, to any person obtaining a copy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using GameSparks.Core; | |
| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| public class GSDataHelpers { | |
| /** Converts a serializable object into GameSparks compatible GSData. */ | |
| public static GSData ObjectToGSData(object obj) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // LoadingScreenManager | |
| // -------------------------------- | |
| // built by Martin Nerurkar (http://www.martin.nerurkar.de) | |
| // for Nowhere Prophet (http://www.noprophet.com) | |
| // | |
| // Licensed under GNU General Public License v3.0 | |
| // http://www.gnu.org/licenses/gpl-3.0.txt | |
| using UnityEngine; | |
| using UnityEngine.UI; |
NewerOlder