Пример #1
0
        private void Init()
        {
            if (Instance == null)
            {
                Instance = this;
            }

            GetComponents();
            startColliderHeight = capsuleCollider.height;
        }
Пример #2
0
 private void Start()
 {
     BackPanel.SetActive(false);
     backPanelCanvasGroup = BackPanel.GetComponent <CanvasGroup>();
     fpsController        = FindObjectOfType <GoomerFPSController.FPSController>();
 }