Install() public static method

Install DeployGate on your application instance.
public static Install ( ) : void
return void
コード例 #1
0
        protected override void Initialize()
        {
            DeployGateSDK.Install();
            int length = SystemInstance.SYSTEM_INSTANCE.Length;

            for (int index = 0; index < length; ++index)
            {
                System.Type type       = SystemInstance.SYSTEM_INSTANCE[index];
                GameObject  gameObject = new GameObject();
                gameObject.get_transform().set_parent(((Component)this).get_transform());
                ((UnityEngine.Object)gameObject.get_transform()).set_name(type.Name);
                gameObject.AddComponent(type);
            }
            UnityEngine.Object.DontDestroyOnLoad((UnityEngine.Object) this);
        }
コード例 #2
0
 void Start()
 {
     DeployGateSDK.Install();
 }