public void Init() { state = new WBCStateIdle(this); WBCAIScript ai = (WBCAIScript)gameObject.AddComponent("WBCAIScript"); gameObject.AddComponent("Rotation"); }
public void SetState(WBCState state) { this.state = state; }