public override void CopyFrom(CAsset source) { base.CopyFrom(source); CKlaxScriptInterfaceAsset interfaceAsset = (CKlaxScriptInterfaceAsset)source; Interface = interfaceAsset.Interface; }
public CKlaxScriptInterface GetInterface() { if (InterfaceAsset == null) { return(null); } CKlaxScriptInterfaceAsset asset = InterfaceAsset.GetAsset(); if (asset == null) { return(null); } asset.WaitUntilLoaded(); return(asset.Interface); }