public override void OnAwake()
 {
     base.OnStart();
     jumper = GetComponent <ModelJump>();
     if (!jumper)
     {
         Debug.Log("Don't find a jumper from modelmovemoving....");
     }
 }
Exemple #2
0
 void Start()
 {
     jumper     = GetComponent <ModelJump>();
     walkSource = MakeSoundChild();
     jumpSource = MakeSoundChild();
 }