Experiment API
using Elecular.API;
using UnityEngine;
public class Player : MonoBehaviour
{
[SerializeField]
private Experiment experiment;
private void Update()
{
if (Input.GetKeyDown(KeyCode.Space))
{
Attack();
}
}
private void Attack()
{
Debug.Log("I am doing a standard attack!");
}
}Last updated