using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using RPGCreationKit;
namespace RPGCreationKit.AI
{
public enum AIGUIDReferenceType
{
MainTarget = 0,
CurrentPath = 1,
DoorToReachTarget = 2,
ActionPoint = 3
};
///
/// Contains useful GUID References that can be accessed by other scripts.
///
public class AIGUIDReferences : MonoBehaviour
{
///
/// Tries to set a reference, providing a GameObject, it will check if the given GameObject has a GUIDReference, if it has, it will be set as the given type.
///
///
///
///
public bool TryToSetReference(GameObject _gameObject, AIGUIDReferenceType _type)
{
return true;
}
///
/// Clears the reference of the provided type
///
///
public void ClearReference(AIGUIDReferenceType _type)
{
}
///
/// Clears all the references
///
public void ClearAllReferences()
{
}
///
/// Tries to get the GameObject of the given type of reference
///
///
///
public GameObject TryToGetReferenceGameObject(AIGUIDReferenceType _type)
{
return null;
}
}
}