예제 #1
0
    /// <summary>
    /// Internal.
    /// </summary>
    public override IScriptBinder CreateScriptBind(GameObject scriptBindObj)
    {
        // AddComponent DefaultScriptBinder.
        IScriptBinder scriptBinder = scriptBindObj.AddComponent <DefaultScriptBinder>();

        return(scriptBinder);
    }
예제 #2
0
        public Class9(
            Interpreter interpreter,
            IScriptBinder parentBinder
            )
        {
            this.interpreter  = interpreter;
            this.parentBinder = parentBinder;

            ///////////////////////////////////////////////////////////////////

            AddClass2();
        }