Beispiel #1
0
 protected static extern float SF_SetVariable(long MovieID, String varPath, Value v, SetVarType type);
	protected static extern float SF_SetVariable(long MovieID, String varPath, Value v, SetVarType type);
Beispiel #3
0
 /// <summary>
 /// Sets the variable at path varPath to value v according to SetVarType (see SetVarType enum for details). This can be used to set the value of text fields, variables, and properties of named nested characters within the movie.
 /// </summary>
 /// <param name="varPath">path of the variable to be set.</param>
 /// <param name="v">Value wrapper for the source.</param>
 /// <param name="type">Type of the SetVariable, see SetVarType enum doc for more info.</param>
 public void SetVariable(String varPath, Value v, SetVarType type)
 {
     #if UNITY_WP8
     sf_setVariable(MovieID, varPath, v, type);
     #else
     SF_SetVariable(MovieID, varPath, v, type);
     #endif
 }