Ejemplo n.º 1
0
    private float fRotateSpeed = 1000f; // 유닛 회전 속도
    //private Vector3 vhpmpbar;

    // Use this for initialization
    void Start()
    {
        //vhpmpbar = new Vector3(0, -5f, 0);
        //vhpmpbar.y = -5f;
        control = GetComponent <CharacterController>();
        im      = ingamemanager.Call();
        im.movetarget.gameObject.SetActive(false); // movetarget 안보이게 초기 값
        ani = GetComponentInChildren <Animator>();
    }
Ejemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     im = ingamemanager.Call();
 }
Ejemplo n.º 3
0
 // Use this for initialization
 void Start()
 {
     ain      = GetComponentInChildren <Animation>();
     im       = ingamemanager.Call();
     dietimer = 10f; // 초기 값
 }
Ejemplo n.º 4
0
    }                                 // Awake 가장 먼저 instance 나자신을 넣는다

    void onDestroy()
    {
        instance = null;
    }                                     // 다시 null로 초기화
Ejemplo n.º 5
0
    }                                                       // .instance 으로 쓸수 있지만 .Call 으로 쓰기 위해 사용

    void Awake()
    {
        instance = this;
    }                                 // Awake 가장 먼저 instance 나자신을 넣는다
Ejemplo n.º 6
0
    public int monsternum; // 몬스터 순번

    // Use this for initialization
    void Start()
    {
        im  = ingamemanager.Call();
        ani = GetComponentInChildren <Animator>();
    }