コード例 #1
0
        /// <summary> A werewolf has left the moonlight. </summary>
        /// <param name="werewolf"> The werewolf in question. </param>
        public void WerewolfOutOfMoonlight(WerewolfMovement werewolf)
        {
            if (werewolf == this)
            {
                InMoonlight = false;

                TransformToHuman?.Invoke();
                StartCoroutine(Transform());
            }
        }
コード例 #2
0
        /// <summary> A werewolf has entered the moonlight. </summary>
        /// <param name="werewolf"> The werewolf in question. </param>
        public void WerewolfInMoonlight(WerewolfMovement werewolf)
        {
            if (werewolf == this)
            {
                InMoonlight = true;

                TransformToWerewolf?.Invoke();
                StartCoroutine(Transform());
            }
        }