using UnityEngine; using System.Collections; public class Try : MonoBehaviour { public class Action : ScriptableObject { public Transform Att; public Transform Def; } // Use this for initialization void Start () { Action act = new Action(); act.Att =…