Example #1
0
 void Awake()
 {
     if (valeriaInfo == null)
     {
         DontDestroyOnLoad(gameObject);
         valeriaInfo = this;
     }
     else if (valeriaInfo != this)
     {
         Destroy(gameObject);
     }
 }
Example #2
0
        protected override void OnEquip(Creature wearer)
        {
#warning unlock achievement for wearing goo armor if not unlocked.
            Valeria.SetCampState(false);
        }
Example #3
0
 protected override ArmorBase OnRemove(Creature wearer)
 {
     Valeria.SetCampState(true);
     return(null);
 }