/// <summary> /// Prints the debug log. /// </summary> /// <param name="_log">Log.</param> public void PrintDebugLog(ICEOwnerObject _object, string _log) { #if UNITY_EDITOR if (DebugLogIsEnabled) { ICEDebug.Log(OwnerName + " (" + OwnerInstanceID + ") - " + (_object != null?_object.GetType().ToString() + " ":"") + _log); } #endif }
public override void Reset() { if (GroupTransform == null) { return; } GroupTransform.DetachChildren(); GameObject.DestroyImmediate(GroupTransform.gameObject); if (GroupTransform == null) { ICEDebug.Log(GroupName + " (" + EntityType.ToString() + ") removed!"); } GroupName = ""; }