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