예제 #1
0
 private void Inif()
 {
     o_mouseRecorder = GameObject.Find("MouseRecorder").
                       GetComponent <MouseRecorder>();
     o_magicDeployer = GameObject.Find("MagicDeployer").
                       GetComponent <MagicDeployer>();
     o_player = GameObject.Find("Player");
 }
예제 #2
0
    private void Inif()
    {
        m_lineRenderer  = transform.GetComponent <LineRenderer>();
        o_mouseRecorder = GameObject.Find("MouseRecorder").
                          GetComponent <MouseRecorder>();
        m_lineRenderer.enabled = false;

        /*空間確保*/
        m_pos = new Vector3[m_maxLineLength];
        for (int i = 0; i < m_maxLineLength; i++)
        {
            m_pos[i] = new Vector3();
        }

        m_cleared    = true;
        m_dataReaded = false;
    }
 protected override void SonInif()
 {
     o_gameManager   = GameObject.Find("GameManager");
     m_mouseRecorder = GameObject.Find("MouseRecorder").
                       GetComponent <MouseRecorder>();
 }
예제 #4
0
 private void Awake()
 {
     instance = this;
 }