public static PlanetariaGameObject[] FindGameObjectsWithTag(string tag) { GameObject[] game_objects = GameObject.FindGameObjectsWithTag(tag); PlanetariaGameObject[] result = new PlanetariaGameObject[game_objects.Length]; for (int index = 0; index < game_objects.Length; ++index) { result[index] = new PlanetariaGameObject(game_objects[index]); } return(result); }
public bool Equals(PlanetariaGameObject other) { if (System.Object.ReferenceEquals(this, other)) { return(true); } if (System.Object.ReferenceEquals(this.internal_game_object, other != null ? other.internal_game_object : null)) { return(true); } return(this.internal_game_object == (other != null ? other.internal_game_object : null)); }
public static void DestroyImmediate(PlanetariaGameObject game_object, bool allow_destroying_assets = false) { GameObject.DestroyImmediate(game_object.internal_game_object, allow_destroying_assets); }
public static void DontDestroyOnLoad(PlanetariaGameObject game_object) { GameObject.DontDestroyOnLoad(game_object.internal_game_object); }
// Static Methods public static void Destroy(PlanetariaGameObject game_object, float time_delay = 0) { GameObject.Destroy(game_object.internal_game_object, time_delay); }