コード例 #1
0
        public void ActivateSpellMode(messages.Player targetedPlayer)
        {
            var player = m_mainManager.GetPlayerById(targetedPlayer.id).gameObject;

            m_lightningThing.EndObject = player;
            audioSource.Play();
            var light = player.GetComponentInChildren <Light>();

            StartCoroutine(TriggerLightning(light));
        }
コード例 #2
0
 public void ActivateSpellMode(messages.Player targetedPlayer)
 {
     _TargetedPlayer = targetedPlayer;
     StartCoroutine(RunEvent(SpellImplementation));
 }