Could somebody please explain why I can't use the Set Properties action to change the float values as listed below? My current knowledge of coding is zero although I can usually manage to work most things out with playmaker, but this one has me stumped.
When I drag this script into my FSM and as Set Properties, these parameters do not show up so that I can change them. The parameters appear in the unity editor and I am able to change them there.
using UnityEngine;
using System;
[ExecuteInEditMode]
public class TOD_Sky : MonoBehaviour
{
[Serializable]
public class CycleParameters
{
public float TimeOfDay = 12f;
public float JulianDate = 60f;
public float Latitude = 0f;
public float Longitude = 0f;
public float UTC = 0f;
}
Many thanks in advance.