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