Exemple #1
0
 public InteractableOffsetTheme()
 {
     Types = new Type[] { typeof(Transform) };
     Name  = "Offset Theme";
     ThemeProperties.Add(
         new InteractableThemeProperty()
     {
         Name    = "Offset",
         Type    = InteractableThemePropertyValueTypes.Vector3,
         Values  = new List <InteractableThemePropertyValue>(),
         Default = new InteractableThemePropertyValue()
         {
             Vector3 = Vector3.zero
         }
     });
 }
Exemple #2
0
 public InteractableShaderTheme()
 {
     Types = new Type[] { typeof(Renderer) };
     Name  = "Shader Float";
     ThemeProperties.Add(
         new InteractableThemeProperty()
     {
         Name    = "Shader",
         Type    = InteractableThemePropertyValueTypes.ShaderFloat,
         Values  = new List <InteractableThemePropertyValue>(),
         Default = new InteractableThemePropertyValue()
         {
             Float = 0
         }
     });
 }
Exemple #3
0
 public InteractableAnimatorTheme()
 {
     Types = new Type[] { typeof(Transform) };
     Name  = "AnimatorTheme";
     ThemeProperties.Add(
         new InteractableThemeProperty()
     {
         Name    = "Animator Trigger",
         Type    = InteractableThemePropertyValueTypes.AnimatorTrigger,
         Values  = new List <InteractableThemePropertyValue>(),
         Default = new InteractableThemePropertyValue()
         {
             String = "Default"
         }
     });
 }
Exemple #4
0
 public InteractableMaterialTheme()
 {
     Types    = new Type[] { typeof(Renderer) };
     Name     = "Material Theme";
     NoEasing = true;
     ThemeProperties.Add(
         new InteractableThemeProperty()
     {
         Name    = "Material",
         Type    = InteractableThemePropertyValueTypes.Material,
         Values  = new List <InteractableThemePropertyValue>(),
         Default = new InteractableThemePropertyValue()
         {
             Material = null
         }
     });
 }
 public InteractableActivateTheme()
 {
     Types    = new Type[] { typeof(Transform) };
     Name     = "Activate Theme";
     NoEasing = true;
     ThemeProperties.Add(
         new InteractableThemeProperty()
     {
         Name    = "Activate",
         Type    = InteractableThemePropertyValueTypes.Bool,
         Values  = new List <InteractableThemePropertyValue>(),
         Default = new InteractableThemePropertyValue()
         {
             Bool = true
         }
     });
 }
 public InteractableAudioTheme()
 {
     Types    = new Type[] { typeof(Transform) };
     Name     = "Audio Theme";
     NoEasing = true;
     ThemeProperties.Add(
         new InteractableThemeProperty()
     {
         Name    = "Audio",
         Type    = InteractableThemePropertyValueTypes.AudioClip,
         Values  = new List <InteractableThemePropertyValue>(),
         Default = new InteractableThemePropertyValue()
         {
             AudioClip = null
         }
     });
 }
Exemple #7
0
 public InteractableTextureTheme()
 {
     Types    = new Type[] { typeof(Renderer) };
     Name     = "Texture Theme";
     NoEasing = true;
     ThemeProperties.Add(
         new InteractableThemeProperty()
     {
         Name    = "Texture",
         Type    = InteractableThemePropertyValueTypes.Texture,
         Values  = new List <InteractableThemePropertyValue>(),
         Default = new InteractableThemePropertyValue()
         {
             Texture = null
         }
     });
 }
Exemple #8
0
 public InteractableStringTheme()
 {
     Types    = new Type[] { typeof(TextMesh), typeof(Text) };
     Name     = "String Theme";
     NoEasing = true;
     ThemeProperties.Add(
         new InteractableThemeProperty()
     {
         Name    = "String",
         Type    = InteractableThemePropertyValueTypes.String,
         Values  = new List <InteractableThemePropertyValue>(),
         Default = new InteractableThemePropertyValue()
         {
             String = ""
         }
     });
 }