Exemplo n.º 1
0
        // Use this for initialization
        void Start()
        {
            m_camera = GameController.TopDownCamera;
            m_player = GameController.Player;
            m_notificationColor.a = 255;
            if (useTriggerGoScript)
            {
                trigger = GetComponent<TriggerGameObject>();
                if (trigger == null) Debug.Log("If you checked \"useTriggerGoScript\" you must add a TriggerGameObjectScript to this game object.");
            }

        }
Exemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     m_camera = GameController.TopDownCamera;
     m_player = GameController.Player;
     m_notificationColor.a = 255;
     if (useTriggerGoScript)
     {
         trigger = GetComponent <TriggerGameObject>();
         if (trigger == null)
         {
             Debug.Log("If you checked \"useTriggerGoScript\" you must add a TriggerGameObjectScript to this game object.");
         }
     }
 }