예제 #1
0
 public static void IdentificationData(GameObject gameObject, InspectorTransformData inspectorData)
 {
     inspectorData.GameObjectId   = gameObject.GetInstanceID();
     inspectorData.GameObjectTag  = gameObject.tag;
     inspectorData.GameObjectName = gameObject.name;
 }
예제 #2
0
 public static void MovementData(GameObject gameObject, InspectorTransformData inspectorData)
 {
     inspectorData.position = gameObject.transform.position;
 }