Join our Discord Channel
var globalVariables = FsmVariables.GlobalVariables;var numLives = globalVariables.GetFsmInt("numLives");numLives.Value = 3;
using HutongGames.PlayMaker;
Sorry, add this:Code: [Select]using HutongGames.PlayMaker;
#pragma strictimport HutongGames.PlayMaker;function Start () { var globalVariables = FsmVariables.GlobalVariables; var numLives = globalVariables.GetFsmInt("numLives"); numLives.Value = 3;}