﻿using UnityEngine;

/**
 * To preload the LeChuck API add this script to any object of your first scene. i.e: the camera
 */
public class InitLeChuckAPI : MonoBehaviour {

	/**
	 * Call the LeChuckApi instance to force a first load
	 */
	public void Start()
	{
		LeChuckAPI lechuck = LeChuckAPI.getInstance();
		lechuck.api.debug = true; /* Debug mode */
		lechuck.api.debugMethodCalls = true; /* Debug all method calls */
	}
	
}