void Awake() { config = Resources.Load("ColorConfig") as ColorConfigurator; mRenderer = renderer; baseColor = myColor == AmbiantColors.DARKCOLOR ? config.lightColor : config.darkColor; }
public static void CreateAsset() { ColorConfigurator.CreateAsset <ColorConfigurator> (); }