Esempio n. 1
0
    void Awake()
    {
        Instance = this;

        stateOn  = GetComponentInChildren <LightStateOn>();
        stateOff = GetComponentInChildren <LightStateOff>();
    }
    void Awake()
    {
        Instance = this;

        stateOn = GetComponentInChildren<LightStateOn>();
        stateOff = GetComponentInChildren<LightStateOff>();
    }