// Use this for initialization void Start() { instance = this; transforms = new TransformAccessArray(0, -1); randNums = new NativeList <float>(initialBats, Allocator.Persistent); InvokeRepeating("Randomizer", 0, .5f); InstantiateBatFlock(); }
public void ToggleBats() { BatHandler.getInstance().ToggleBats(); }