Esempio n. 1
0
    private void Start()
    {
        _camera           = PlayerCamera.Singletone.gameObject.GetComponent <Camera>();
        _rateTable        = UIRateTable.Singletone;
        _playerGameObject = PlayerVirusHead.Singletone.gameObject;

        _playerGameObject = GameObject.Find(TemporaryData.PlayerNickName);
        StartCoroutine(EnableDelay());
    }
Esempio n. 2
0
 private void Awake() => Singletone = this;
Esempio n. 3
0
 private void Awake()
 {
     RateTable = UIRateTable.Singletone;
     RateTable.playersList.Add(this);
 }