// Use this for initialization void Start() { this.gameworld = GetComponent <gameworld>(); motor = GetComponent(typeof(CharacterMotor)) as CharacterMotor; if (motor == null) { Debug.Log("Motor is null!!"); } wait = false; }
void Start () { this.gameworld = GetComponent<gameworld> (); }