Ejemplo n.º 1
0
 private void Start()
 {
     Init(cDataManager.INSTANCE.PLAYER.m_hp, 6.0f, cDataManager.INSTANCE.PLAYER.m_Attack);
     m_camera = new cCheckOutCamera(gameObject);
     m_ColliderPower.SetActive(false);
     m_ColliderMagnet.SetActive(false);
 }
Ejemplo n.º 2
0
 private void OnEnable()
 {
     Init(20000.0f, 2.0f, 100.0f);
     m_camera       = new cCheckOutCamera(gameObject);
     m_isOn         = false;
     m_isDownAttack = false;
     m_direction    = new Vector3(1, 1, 0);
     StartCoroutine("CoMakeHP");
 }
Ejemplo n.º 3
0
    public void Setting(string _itemName)
    {
        Init(100.0f, 2.0f, 25.0f);
        m_camera = new cCheckOutCamera(gameObject);

        m_item = cItem_Factory.MakeItem(_itemName);
        GetComponent <SpriteRenderer>().sprite = Resources.Load <Sprite>(cItem_Factory.MakePath(_itemName));
        transform.localScale = new Vector3(0.05f, 0.05f, 0.05f);

        m_radNormalVec  = (float)UnityEngine.Random.Range(-1, 2);
        m_radNormalVec2 = (float)UnityEngine.Random.Range(0.5f, 2);

        m_direction = 1;
        m_graity    = 0.0f;
        m_isMagnet  = false;
    }
 private void Awake()
 {
     m_graity = 0.0f;
     Init(100.0f, 1.5f, 50.0f);
     m_camera = new cCheckOutCamera(gameObject);
 }
Ejemplo n.º 5
0
 private void Awake()
 {
     m_camera = new cCheckOutCamera(gameObject);
 }
Ejemplo n.º 6
0
 private void Awake()
 {
     Init(100.0f, 3.3f, 25.0f);
     m_camera = new cCheckOutCamera(gameObject);
 }