// Use this for initialization void Start() { //cash //transform cash cashTransform = transform; //hiari controller hiariCtr = GameObject.Find("btl_hiariController"); hac = hiariCtr.GetComponent <btl_hiariController> (); }
// Use this for initialization void Start() { //system init intervalCnt = 0; //cash //camera controller cameraCtr = Camera.main.GetComponent <btl_cameraController>(); //display controller displayCtr = GameObject.Find("btl_displayController"); dsc = displayCtr.GetComponent <btl_displayController> (); //scene controller sceneCtr = GameObject.Find("btl_sceneController"); scn = sceneCtr.GetComponent <cmn_sceneController> (); //screen controller screenCtr = GameObject.Find("btl_screenController"); scr = screenCtr.GetComponent <cmn_screenController> (); //stage controller stageCtr = GameObject.Find("btl_stageController"); stc = stageCtr.GetComponent <btl_stageController> (); //playercontroller playerCtr = GameObject.Find("btl_playerController"); plc = playerCtr.GetComponent <btl_playerController> (); //hiari controller hiariCtr = GameObject.Find("btl_hiariController"); hac = hiariCtr.GetComponent <btl_hiariController> (); //game mode gameMode = gmFadein; gmCnt = 0; //result result = false; //pause pause = false; backTimeScale = 1.0f; tapCansel = false; //cmn data init cmn_staticData.Instance.btl_initCmnData(); }
// Use this for initialization void Start() { //system init intervalCnt = 0; //cash //transform cash cashTransform = transform; //maincontroller mainCtr = GameObject.Find("btl_mainController"); mc = mainCtr.GetComponent <btl_mainController> (); //playercontroller playerCtr = GameObject.Find("btl_playerController"); plc = playerCtr.GetComponent <btl_playerController> (); //hiaricontroller hiariCtr = GameObject.Find("btl_hiariController"); hac = hiariCtr.GetComponent <btl_hiariController> (); //move movseq = movbattle; movcnt = 0; //posdir postdir = 0.0f; //target camera pos dir poscdir = 0.0f; //current camera pos dir firstposdir = true; //dir tdir = 0.0f; //target camera angle cdir = 0.0f; //current camera angle firstdir = true; //hiari info hsmove = false; }