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
| ( | |
| This is a small test example for the funnel script. | |
| Funnel is the script-language use in the tagion network | |
| ) | |
| : test ( add test ) | |
| .s | |
| 3 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
| // Firstly, we need classes. | |
| class field { | |
| string name | |
| string type | |
| // {} allows ':' syntax | |
| constructor ({string name : string type}) { | |
| this.name = name | |
| this.this = type | |
| } |
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; | |
| using System.Collections; | |
| using RSG; | |
| public partial class WaitManager { | |
| private WaitManager () { | |
| } | |
| private static WaitManager _instance; |
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; | |
| public class CoroutineManager : MonoBehaviour { | |
| private CoroutineManager () { | |
| _instance = this; | |
| } | |
| private static CoroutineManager _instance; |