Inheritance: UnityEngine.MonoBehaviour
示例#1
1
		void Start () {

			player = GetComponent<PlayerController>();
			
		}
示例#2
0
 public void Update(PlayerController player)
 {
     UpdateCurrentAction(player);
     AdvanceToNextActionIfAppropriate(player);
 }
 public GentlemansSingleton()
 {
     activePlayer = null;
 }
 public static void SetPlayer(PlayerController player)
 {
     activePlayer = player;
 }