Exemple #1
0
 public override void onUse(PlayerControl aPlayer)
 {
     Debug.Log("Sunflower On Use");
     if (m_Camera == null)
     {
         Debug.Log("Please attach a camera to this script");
         aPlayer.stopUsing();
         return;
     }
     m_Camera.gameObject.SetActive(true);
     m_IsUsing = true;
 }