// Use this for initialization void Start() { nextState = State.None; entitesInTrigger = new List <Firefly>(); stateHistory = new Histoire <State> (GetNextState); lightingHistory = new Histoire <float> (GetLighting); //this.GetComponentInChildren<MeshRenderer>().enabled = false; }
protected virtual void Start() { positions = new Histoire <Coord> (() => new Coord(transform.position)); }