Beispiel #1
0
 private Controller2D c; // stores the Controller2D into a variable that can be called
 void Awake()
 {
     c = GetComponent <Controller2D>();
 }
Beispiel #2
0
 // Use this for initialization
 void Start()
 {
     controller = GetComponent <Controller2D>();
 }