void Awake() { basicState = new BasicState(this); basicState.start(this.gameObject); attributes = GetComponent <BasicObjectAttr>(); }