// Use this for initialization
 void Start()
 {
     rb2d = GetComponent<Rigidbody2D>();
     userControl = GetComponent<Platformer2DUserControl>();
     m_Character = GetComponent<PlatformerCharacter2D>();
 }
Ejemplo n.º 2
0
 private void Start()
 {
     m_Control = GetComponent<Platformer2DUserControl>();
 }