Esempio n. 1
0
 // 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>();
 }
Esempio n. 2
0
 // 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;
     }
 }
Esempio n. 3
0
    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>();
    }
Esempio n. 5
0
 void Start()
 {
     poller = GameObject.Find("ObjectPoller").GetComponent <ObjectPoller>();
 }
Esempio n. 6
0
 private void Awake()
 {
     Instance = this;
 }
Esempio n. 7
0
 void Awake()
 {
     current = this;
 }