// Start is called before the first frame update
 void Start()
 {
     gState        = globalState.GetComponent <GlobalStateScript>();
     textureCamera = GetComponent <Camera>();
     colors        = new ColorGradient(new [] {
         // Extracted from https://stock.adobe.com/69426938/
         new Color32(0x02, 0x48, 0x73, 0xff),
         new Color32(0x03, 0x65, 0x8c, 0xff),
         new Color32(0x03, 0x88, 0xa6, 0xff),
         new Color32(0xf2, 0x8e, 0x6b, 0xff),
         new Color32(0xd9, 0x5a, 0x4e, 0xff)
     });
 }
 // Start is called before the first frame update
 void Start()
 {
     gState       = globalState.GetComponent <GlobalStateScript>();
     instructions = new PFString("Press “" + InputScript.pathfinderToggleKey + "” to toggle Pathfinder.");
 }
Пример #3
0
 void Start()
 {
     gState = GetComponent <GlobalStateScript>();
 }