Пример #1
0
 // Tell the bullet object we created to begin it's work making particles and sounds and such for client enjoyment.
 public void Shoot(bool isOwner, byte shotID, NetworkedRaycastBulletScript bullet ){
     m_ShootPoint.SendMessage ( "Play", SendMessageOptions.DontRequireReceiver ); // Tell the muzzle particle system to play.
     Debug.Log(GetObjectDebugInfo() + "|NetworkedItemScript::Shoot:LOCAL_OBSERVATION: Your weapon was discharged with ShotID: " + shotID.ToString() );
     bullet.Shoot (m_weaponController, isOwner, shotID);
 }