Esempio n. 1
0
    // 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;
    }
Esempio n. 2
0
 protected virtual void Start()
 {
     positions = new Histoire <Coord> (() => new Coord(transform.position));
 }