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