Beispiel #1
0
 public virtual void OnTrigger(Entity otherEntity, ComponentCollider otherCollider)
 {
 }
Beispiel #2
0
 public virtual void OnCollision(Entity otherEntity, ComponentCollider otherCollider)
 {
 }
Beispiel #3
0
        public override void OnCollision(Entity otherEntity, ComponentCollider otherCollider)
        {
            base.OnCollision(otherEntity, otherCollider);

            Transform.Position = Transform.OldPosition;
        }