상속: MonoBehaviour
예제 #1
0
    void Awake()
    {
        HpBarManager[] managerList = managerHolder.GetComponents <HpBarManager>();
        manager1 = managerList[0];
        manager2 = managerList[1];

        StartCoroutine(FadeIn());
        Spawn(PlayerSelection.p1Select, PlayerSelection.p2Select);
    }
예제 #2
0
 void Awake()
 {
     instance = this;
 }
예제 #3
0
 void Awake()
 {
     _instance = this;
     hpBarPrefab = Resources.Load<GameObject>("HpBar");
     damageHudTextPrefab = Resources.Load<GameObject>("DamageHudText");
 }
예제 #4
0
	void Awake()
	{
		_instance = this;
	}
예제 #5
0
    //private Transform parentGo;


    private void Awake()
    {
        _instance = this;
        //parentGo = this.GetComponent<Transform>();
    }
예제 #6
0
 void Awake()
 {
     _instance           = this;
     hpBarPrefab         = Resources.Load <GameObject>("HpBar");
     damageHudTextPrefab = Resources.Load <GameObject>("DamageHudText");
 }