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; } }
private void OnDestroy() { Instance = null; }
private void Awake() { Instance = this; }