예제 #1
0
 // Use this for initialization
 void Awake()
 {
     Assert.IsNotNull(kPlayerOne.kPlayer);
     Assert.IsNotNull(kPlayerTwo.kPlayer);
     Assert.IsNull(m_Locator);
     kPlayerOne.kController = kPlayerOne.kPlayer.GetComponent <PlayerController>();
     kPlayerTwo.kController = kPlayerTwo.kPlayer.GetComponent <PlayerController>();
     m_Locator = this;
 }
예제 #2
0
 public FootballPlayerEventEffector(ISkill srcSkill, PlayerLocator locator, List <IBoostEffect> booster, List <INormalEffect> buffFeeder, List <ISpecEffect> specFeeder)
     : base(srcSkill, locator, booster, buffFeeder, specFeeder)
 {
 }
예제 #3
0
 public FootballPlayerEventEffector(PlayerLocator locator, List <IEffect> effects)
     : base(locator, effects)
 {
 }
예제 #4
0
 void Awake()
 {
     DontDestroyOnLoad(gameObject);
     Current          = this;
     PlayerGameObject = gameObject;
 }
예제 #5
0
	void Awake()
	{
		DontDestroyOnLoad(gameObject);
		Current = this;
		PlayerGameObject = gameObject;
	}
예제 #6
0
 private void Awake()
 {
     UnityEngine.Object.DontDestroyOnLoad(base.gameObject);
     PlayerLocator.Current          = this;
     PlayerLocator.PlayerGameObject = base.gameObject;
 }