mirror of
https://github.com/BlackMATov/unity-iso-tools.git
synced 2026-09-30 02:47:07 +07:00
physics wip
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
namespace IsoTools { namespace Examples {
|
||||
public class IsoEchoListener : MonoBehaviour {
|
||||
void OnIsoTriggerEnter(IsoCollider iso_collider) {
|
||||
Debug.LogFormat(
|
||||
"OnIsoTriggerEnter. self:{0} other:{1}",
|
||||
gameObject.name, iso_collider.gameObject.name);
|
||||
}
|
||||
|
||||
void OnIsoTriggerExit(IsoCollider iso_collider) {
|
||||
Debug.LogFormat(
|
||||
"OnIsoTriggerExit. self:{0} other:{1}",
|
||||
gameObject.name, iso_collider.gameObject.name);
|
||||
}
|
||||
|
||||
void OnIsoCollisionEnter(IsoCollision iso_collision) {
|
||||
Debug.LogFormat(
|
||||
"OnIsoCollisionEnter. self:{0} other:{1}",
|
||||
gameObject.name, iso_collision.GameObject.name);
|
||||
}
|
||||
|
||||
void OnIsoCollisionExit(IsoCollision iso_collision) {
|
||||
Debug.LogFormat(
|
||||
"OnIsoCollisionExit. self:{0} other:{1}",
|
||||
gameObject.name, iso_collision.GameObject.name);
|
||||
}
|
||||
}
|
||||
}} // namespace IsoTools::Examples
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5528e050e2d53409f9a4f1662625b0bf
|
||||
timeCreated: 1436185285
|
||||
licenseType: Free
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user