Table of Contents

Class IntVar

Namespace
ElectricDrill.SoapRpgFramework.Utils
Assembly
com.electricdrill.soap-rpg-framework.Runtime.dll

ScriptableObject that holds an integer value. Can be used to share an integer value between different GameObjects and scenes.

[CreateAssetMenu(fileName = "Int Var", menuName = "Soap RPG Framework/Utils/Int Var")]
public class IntVar : ScriptableObject
Inheritance
object
IntVar

Properties

Value

The integer value.

public int Value { get; set; }

Property Value

int

Operators

implicit operator int(IntVar)

Allows implicit conversion from an IntVar to an int.

public static implicit operator int(IntVar var)

Parameters

var IntVar

The IntVar to convert.

Returns

int