Version 3.3.1.2

ExampleHelper class

Namespace: Sirenix.OdinInspector.Editor.Examples
Assembly: Sirenix.OdinInspector.Editor
public static class ExampleHelper
Inheritance
  • System.Object
  • ExampleHelper

Methods

GetMaterial()
public static Material GetMaterial()
Returns
UnityEngine.Material

GetMesh()
public static Mesh GetMesh()
Returns
UnityEngine.Mesh

GetScriptableObject<T>(String)
public static T GetScriptableObject<T>(string name)
    where T : ScriptableObject
Parameters
System.String name

Returns
T

Type Parameters
T

GetString()
public static string GetString()
Returns
System.String

GetTexture()
public static Texture2D GetTexture()
Returns
UnityEngine.Texture2D

RandomFloat(Single, Single)
public static float RandomFloat(float min, float max)
Parameters
System.Single min

System.Single max

Returns
System.Single

RandomInt(Int32, Int32)
public static float RandomInt(int min, int max)
Parameters
System.Int32 min

System.Int32 max

Returns
System.Single