Пример #1
0
 public override void Interact(Player player, Interactions interaction)
 {
     if (interaction == Interactions.Answer)
     {
         player.AnswerPhone();
         CatMeter.MaxAttraction -= 3;
         EvSys.Instance().AddMessage("Answered Phone: <color=green>-3 to Cat Attraction</color>");
     }
 }
Пример #2
0
        public static EvSys Instance()
        {
            if (_this == null)
            {
                GameObject go = GameObject.Find("EvSys");
                if (go != null)
                {
                    _this = go.GetComponent <EvSys>();
                }
            }

            return(_this);
        }