Exemple #1
0
    private void Awake()
    {
        desScript = GetComponent <DesScript>();

        floatState       = new FloatState(this);
        lightBulbState   = new LightBulbAttackState(this);
        dieState         = new DieAttackState(this);
        createLevelState = new CreateLevelAttackState(this);
    }
Exemple #2
0
 // Use this for initialization
 void Start()
 {
     desScript = GetComponent <DesScript>();
 }