コード例 #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;
            }
        }
コード例 #2
0
 private void OnDestroy()
 {
     Instance = null;
 }
コード例 #3
0
 private void Awake()
 {
     Instance = this;
 }