public override void CopyFrom(CAsset source)
        {
            base.CopyFrom(source);
            CKlaxScriptInterfaceAsset interfaceAsset = (CKlaxScriptInterfaceAsset)source;

            Interface = interfaceAsset.Interface;
        }
示例#2
0
        public CKlaxScriptInterface GetInterface()
        {
            if (InterfaceAsset == null)
            {
                return(null);
            }

            CKlaxScriptInterfaceAsset asset = InterfaceAsset.GetAsset();

            if (asset == null)
            {
                return(null);
            }

            asset.WaitUntilLoaded();
            return(asset.Interface);
        }