// Start is called before the first frame update void Start() { eh = GameObject.Find("StageEventHandler").GetComponent <EventHandler>(); at_body = GetComponent <Animator>(); resetSkill(); IsAttack = false; poller = GameObject.Find("ObjectPoller").GetComponent <ObjectPoller>(); }
// Start is called before the first frame update void Start() { skillManager = GameObject.Find("SkillUI").GetComponent <SkillManager>(); pc = GameObject.Find("Player").GetComponent <PlayerControler>(); at_body = GameObject.Find("Body").GetComponent <Animator>(); pollor = GameObject.Find("ObjectPoller").GetComponent <ObjectPoller>(); SkillUse = new bool[3]; for (int i = 0; i < 3; i++) { SkillUse[i] = false; } }
void Start() { if (isStart) { return; } isStart = true; objectPoller = GetComponent <ObjectPoller>(); cashTransform = transform; // 初期ナンバー設定 SetNumber(startNumber); // カラー設定 SetColor(color); }
void Start() { keyDictionary = new Dictionary <string, bool> { { "Space", false }, { "LeftShift", false }, { "Q", false }, { "LMouse", false }, { "RMouse", false }, }; tr = GetComponent <Transform>(); eh = GameObject.Find("StageEventHandler").GetComponent <EventHandler>(); gs = GameObject.Find("PBR_Golem").GetComponent <GolemStatus>(); tr_body = GameObject.Find("Body").GetComponent <Transform>(); pStatus = GameObject.Find("Body").GetComponent <PlayerStatus>(); tr_Cam = GameObject.Find("Main Camera").GetComponent <Transform>(); LookRight = Vector3.right; LookForward = Vector3.forward; CharacterGoto = Vector3.forward; poller = GameObject.Find("ObjectPoller").GetComponent <ObjectPoller>(); skillManager = GameObject.Find("SkillUI").GetComponent <SkillManager>(); }
void Start() { poller = GameObject.Find("ObjectPoller").GetComponent <ObjectPoller>(); }
private void Awake() { Instance = this; }
void Awake() { current = this; }