Ejemplo n.º 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>");
     }
 }
Ejemplo n.º 2
0
        public static EvSys Instance()
        {
            if (_this == null)
            {
                GameObject go = GameObject.Find("EvSys");
                if (go != null)
                {
                    _this = go.GetComponent <EvSys>();
                }
            }

            return(_this);
        }