예제 #1
0
 private void Awake()
 {
     instance = this;
     infoPanel.SetActive(false);
 }
예제 #2
0
 void Start()
 {
     body = GetComponent <Animal>();
     view = FindObjectOfType <InfoView>();
 }