public OnTriggerEnter ( |
||
other | ||
Результат | void |
public void OnTriggerEnter(Collider other)
{
// Because of physics layers we can only collide with the goal
m_netPlayer.SendCmd("scored", new MessageScored(UnityEngine.Random.Range(5, 15)));
}