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