Пример #1
0
 public virtual void OnTrigger(Entity otherEntity, ComponentCollider otherCollider)
 {
 }
Пример #2
0
 public virtual void OnCollision(Entity otherEntity, ComponentCollider otherCollider)
 {
 }
Пример #3
0
        public override void OnCollision(Entity otherEntity, ComponentCollider otherCollider)
        {
            base.OnCollision(otherEntity, otherCollider);

            Transform.Position = Transform.OldPosition;
        }