Beispiel #1
0
 // Use this for initialization
 void Start()
 {
     plsc = GetComponentInParent <playersc>();
 }
Beispiel #2
0
 // Use this for initialization
 void Start()
 {
     plsc    = GetComponentInParent <playersc>();
     thisima = GetComponent <SpriteRenderer>();
 }