コード例 #1
0
    /// <summary>
    /// Implement the behaviour of AndroidPluginManager when he system starts
    /// </summary>
    void Start()
    {
        ///
        /// Initialize the plugin
        ///
        AndroidPlugin.Initialize();

        ///
        /// Connect the callbacks to the listeners
        ///
        AndroidPlugin.Callback.OnEventSuccess.AddListener(OnEventSuccess);
        AndroidPlugin.Callback.OnEventFailure.AddListener(OnEventFailure);
    }