Beispiel #1
0
    bool Switch()
    {
#if UNITY_EDITOR
        return(TARDSwitchesPC.GrassSwitch());
#else
        return(TARDSwitches.GrassSwitch);
#endif
    }
Beispiel #2
0
		bool Switch()
		{
			#if UNITY_EDITOR
				return TARDSwitchesPC.BloomSwitch();
			#else
				return TARDSwitches.BloomSwitch;
			#endif
		}
 private static void BloomOn()
 {
     TARDSwitchesPC.SetBool(TARDSwitchesPC.KeyBloom, true);
 }
 private static void GrassOff()
 {
     TARDSwitchesPC.SetBool(TARDSwitchesPC.KeyGrass, false);
 }
 private static void GrassOn()
 {
     TARDSwitchesPC.SetBool(TARDSwitchesPC.KeyGrass, true);
 }
 private static void BloomOff()
 {
     TARDSwitchesPC.SetBool(TARDSwitchesPC.KeyBloom, false);
 }