protected override object GetPublicVariableDefaultValue(string symbol, Type type) { if (program == null && SerializedProgramAsset != null) { program = SerializedProgramAsset.RetrieveProgram(); } return(program.Heap.GetHeapVariable(program.SymbolTable.GetAddressFromSymbol(symbol))); }
public void UpdateProgram() { if (program == null && SerializedProgramAsset != null) { program = SerializedProgramAsset.RetrieveProgram(); } if (program == null) { RefreshProgram(); } }
public void ApplyProgram() { SerializedProgramAsset.StoreProgram(program); EditorUtility.SetDirty(this); }