Esempio n. 1
0
        private void Awake()
        {
            if (_instance != null)
            {
                Destroy(gameObject);
                return;
            }

            _instance = this;
        }
Esempio n. 2
0
 private void Start()
 {
     ChangeSkinColor(PlayerUnlocks.GetInitialColor());
     ChangeSize(PlayerUnlocks.GetInitialSize());
     ChangeShape(PlayerUnlocks.GetInitialShape());
 }