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
| // Handle-based array. Used like this: | |
| // | |
| // EntityHandle :: distinct Handle | |
| // entities: HandleArray(Entity, EntityHandle) | |
| // | |
| // It expects the type used (in this case Entity) to contains a field called handle | |
| // of type Handle | |
| // | |
| // You can then fetch entities using ha_get() and add handles using ha_add() |
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
| /* | |
| The purpose of this plugin is to disable certain procedures that are intended to be | |
| developer-only secret code that you don't want to end up in the final release build | |
| of your program. | |
| To use this plugin, compile your program with `jai main.jai -plug Developer_Only` | |
| and then mark certain procedures with the `@Developer` note. These procedures will | |
| have their body deleted when in developer builds. | |
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; | |
| namespace TMG.Survivors | |
| { | |
| public class CameraTargetSingleton : MonoBehaviour | |
| { | |
| public static CameraTargetSingleton Instance; | |
| public 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
| /** | |
| * Row structure for our data table. | |
| * The row name must be unique - this is the first column by default, unless otherwise specified on import. | |
| * | |
| * Note that if we're importing a DataTable from CSV, the column header (with spaces removed) must match the | |
| * property name *exactly*, for example: | |
| * - Column header: `Some Data` | |
| * - Property name: `SomeData` | |
| */ | |
| struct FMyDataTableRow |
OlderNewer