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; | |
| public static class RendererExtensions | |
| { | |
| /// <summary> | |
| /// Checks if the object is visible from a certain camera | |
| /// </summary> | |
| /// <returns><c>true</c>, if visible, <c>false</c> otherwise.</returns> | |
| /// <param name="renderer">Object Renderer</param> | |
| /// <param name="camera">Camera</param> |
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 System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| public class GameController : MonoBehaviour | |
| { | |
| public static GameController instance; | |
| // Singleton Initialization | |
| void Awake() |
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
| #!/bin/env sh | |
| lines=$(tput lines) | |
| cols=$(tput cols) | |
| awkscript=' | |
| { | |
| letters="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@#$%^&*()" | |
| lines=$1 |
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
| export default (request) => { | |
| console.log('--------------------------------------------START') | |
| //////////////////////////////// | |
| // ---------- external modules | |
| // sha256 | |
| function SHA256(s){ | |
| var chrsz = 8; |
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
| class MulticastDelegate: | |
| def __init__(self): | |
| self.delegates = [] | |
| def add(self, delegate): | |
| self.delegates.append(delegate) | |
| def sub(self, delegate): | |
| self.delegates.remove(delegate) |
NewerOlder