コード例 #1
0
ファイル: NPCController.cs プロジェクト: JabberSnatch/GGJ2016
    public void BooOutcastPlayer(RotatingPlayerController player)
    {
		_booedCharacter = player;
        _booDuration = Mathf.Infinity;
        _booElapsedTime = 0f;
    }
コード例 #2
0
ファイル: NPCController.cs プロジェクト: JabberSnatch/GGJ2016
 public void StopBooing()
 {
     m_Animator.SetBool("Pointing", false);
     LookAt(m_WorldCenter.position);
     _booedCharacter = null;
 }
コード例 #3
0
ファイル: NPCController.cs プロジェクト: JabberSnatch/GGJ2016
 public void BooCharacter(PolarCharacter target, float duration)
 {
     if (!EverythingManager.Instance.PlayerIsOutcast)
     {
         _booedCharacter = target;
         _booDuration = duration;
         _booElapsedTime = 0f;
     }
 }