コード例 #1
0
 public override void OnClick()
 {
     if (!m_Belt.Deleted && m_Belt.IsChildOf(Owner.From))
     {
         m_Belt.Unload(Owner.From);
     }
 }
コード例 #2
0
 public override void OnClick()
 {
     if (!m_Belt.Deleted && m_Belt.IsChildOf(Owner.From))
     {
         Owner.From.BeginTarget(10, false, TargetFlags.Harmful, new TargetCallback(m_Belt.OnTarget));
     }
 }