//--------------------------------------------------------------- /* * @brief リセット */ //--------------------------------------------------------------- public void ResetItem() { elapsedTime = 0.0f; m_reloadTime = 0; m_state = EItemUseState.ITEM_STAT_READY; }
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; }