private void Awake()
 {
     if (singleton == null)
     {
         singleton = this;
     }
 }
예제 #2
0
        private void Start()
        {
            referencer = PlayerReferencer.singleton;
            weaponSys  = referencer.weaponSystem;

            Health  = MaxHealth;
            Stamina = MaxStamina;
        }