Example #1
0
        public void SetTargetToFollow(GGJMonoBehaviour target)
        {
            Game.lateUpdate -= CustomLateUpdate;

            m_target = target;

            StartCoroutine(MoveTo());
        }
Example #2
0
 public void RemoveDayElement(GGJMonoBehaviour behaviour)
 {
     m_dayBehavours.Remove(behaviour);
 }
Example #3
0
 public void AddNewNightElement(GGJMonoBehaviour behaviour)
 {
     m_nightBehavours.Add(behaviour);
 }
Example #4
0
 public void AddNewDayElement(GGJMonoBehaviour behaviour)
 {
     m_dayBehavours.Add(behaviour);
 }