Skip to content

Instantly share code, notes, and snippets.

@baobao
Last active October 26, 2020 04:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save baobao/dcf77bbdf21095b4cfaca4d4023c511f to your computer and use it in GitHub Desktop.
Save baobao/dcf77bbdf21095b4cfaca4d4023c511f to your computer and use it in GitHub Desktop.
/// <summary>
/// <para>The default name ID of the play event.</para>
/// </summary>
public static readonly int PlayEventID = Shader.PropertyToID("OnPlay");
/// <summary>
/// <para>The default name ID of the stop event.</para>
/// </summary>
public static readonly int StopEventID = Shader.PropertyToID("OnStop");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment