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