Example #1
0
 // Start is called before the first frame update
 void Start()
 {
     father = GetComponentInParent <ScrPhantom>();
 }
Example #2
0
 // Start is called before the first frame update
 void Start()
 {
     anim    = GetComponent <Animator>();
     phantom = GetComponentInParent <ScrPhantom>();
 }