Esempio n. 1
0
        public void SetPlayer(Transform player)
        {
            for (int i = 0; i < streamers.Length; ++i)
            {
                streamers[i].player = player;
            }

            ColliderStreamerManager manager = ColliderStreamerManager.Instance;

            if (manager != null)
            {
                manager.player = player;
            }
        }
Esempio n. 2
0
 private void OnDestroy()
 {
     Instance = null;
 }
Esempio n. 3
0
 private void Awake()
 {
     Instance = this;
 }