예제 #1
0
    //---------------------------------------------------------------

    /*
     *  @brief      リセット
     */
    //---------------------------------------------------------------
    public void ResetItem()
    {
        elapsedTime  = 0.0f;
        m_reloadTime = 0;

        m_state = EItemUseState.ITEM_STAT_READY;
    }
예제 #2
0
    void Awake()
    {
        attachedObject = null;
        objScript      = null;
        m_state        = EItemUseState.ITEM_STAT_READY;

        m_type       = GameDefine.ITEM_TYPE.ITEM_TYPE_INVALID;
        m_useType    = 0;
        m_reloadTime = 0;
        elapsedTime  = 0.0f;
    }