Пример #1
0
        // PUBLIC METHODS: ------------------------------------------------------------------------

        public override object Get(GameObject invoker = null)
        {
            return(VariablesManager.GetLocal(
                       this.GetGameObject(invoker),
                       this.name,
                       this.inChildren
                       ));
        }
Пример #2
0
        public override string ToStringValue(GameObject invoker = null)
        {
            object value = VariablesManager.GetLocal(
                this.GetGameObject(invoker),
                this.name,
                this.inChildren
                );

            return(value != null ? value.ToString() : "null");
        }