コード例 #1
0
 private void SetBuff(Buff.BuffTypes type, float duration)
 {
     m_buff = new Buff(type, duration);
     if (isServer)
     {
         RpcSetBuff(type, duration);
     }
 }
コード例 #2
0
 private void RpcSetBuff(Buff.BuffTypes type, float duration)
 {
     m_buff = new Buff(type, duration);
 }