public void Start() { this.charController = (CharacterController)this.GetComponent(typeof(CharacterController)); this.get_animation().set_wrapMode(2); this.status = (Status)this.GetComponent(typeof(Status)); this.tdcWalker = (TopDownClickWalker)this.GetComponent(typeof(TopDownClickWalker)); }
public override void Start() { this.charController = (CharacterController)this.GetComponent(typeof(CharacterController)); this.status = (Status)this.GetComponent(typeof(Status)); PlayerController.tdcWalker = (TopDownClickWalker)this.GetComponent(typeof(TopDownClickWalker)); }