This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using System; | |
public class BatteryChecker : MonoBehaviour | |
{ | |
public float BatteryLevel { get { return SystemInfo.batteryLevel * 100;} } | |
public System.Action OnChargeStartAction; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using UnityEngine.Events; | |
using Vuforia; | |
public class CustomDefaultTrackableEventHandler : DefaultTrackableEventHandler { | |
public UnityEvent OnTrackingAction; | |
public UnityEvent OffTrackingAction; | |
protected override void OnTrackingFound () |