예제 #1
0
        private void Awake()
        {
            Instance = this;

            playerHP = PlayerInfo.transform.Find("HP").GetComponent <Slider>();

            arrowData = new ArrowData();
        }
예제 #2
0
        private void Awake()
        {
            Instance = this;

            playerData = new PlayerData();
            arrowData  = new ArrowData();

            playerData.Health = 100f;
        }
예제 #3
0
파일: Arrow.cs 프로젝트: Fuyaocc/JungleWar
 public void Awake()
 {
     arrowData = new ArrowData();
 }