In Git you can add a submodule to a repository. This is basically a repository embedded in your main repository. This can be very useful. A couple of usecases of submodules:
- Separate big codebases into multiple repositories.
// https://forum.unity.com/threads/clear-old-texture-references-from-materials.318769/ | |
#define UPDATING_FLOAT_TO_INT | |
#if UNITY_EDITOR | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEditor; | |
public class MaterialPropertyCleaner : EditorWindow { | |
private const float REMOVE_BUTTON_WIDTH = 60; |
using UnityEngine; | |
using UnityEditor; | |
using System.Collections; | |
namespace Opendream { | |
[CustomEditor(typeof(MovingPlatform))] | |
public class InspectorEditor : Editor { | |
public override void OnInspectorGUI() { |
using UnityEngine; | |
using System.Collections; | |
using UnityEditor; | |
[CustomEditor (typeof(TriggerContainer))] | |
public class TriggerContainerEditor : Editor | |
{ | |
private SerializedObject obj; |