// Use this for initialization void Start() { itemController = GetComponent <GetItemController> (); touchpadPadUtil = GetComponent <TouchPadUtil> (); smokeModule = smokeParticle.main; fireModule = fireParticle.main; }
// Use this for initialization void Start() { getItemController = GetComponent <GetItemController> (); touchPadUtil = GetComponent <TouchPadUtil> (); fishCnt = fishStick.Length; fishStatus = new RoastFishStatus[fishCnt]; for (int i = 0; i < fishCnt; i++) { Transform stick = fishStick [i].transform.GetChild(0); RoastFishDisplayer displayer = stick.GetChild(0).GetComponent <RoastFishDisplayer> (); fishStatus [i] = new RoastFishStatus(displayer, stick); } }
// Use this for initialization void Start() { getItemController = GetComponent <GetItemController> (); initSpearObject(); }