예제 #1
0
 private void Awake()
 {
     unihog = GetComponentInParent <Unihog1Controller>();
 }
예제 #2
0
 private void Start()
 {
     rb2d   = GetComponent <Rigidbody2D>();
     unihog = GetComponent <Unihog1Controller>();
 }