using UnityEngine;
using Makinom;
public class test : MonoBehaviour
{
public MakinomSchematicAsset schematicAsset; //define schematic
// Start is called before the first frame update
void Start()
{
Schematic schematic = new Schematic(this.schematicAsset); //load schematic
}
// Update is called once per frame
void Update()
{
schematic.PlaySchematic(null, machineObject, startObject, false, MachineUpdateType.Update); //execute schematic
}
}
It looks like you're new here. If you want to get involved, click one of these buttons!
Also, you need to add the schematic namespace:
using Makinom.Schematics;
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Makinom;
using Makinom.Schematics;
public class test : MonoBehaviour
{
public MakinomSchematicAsset schematicAsset; //define schematic
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
Schematic schematic = new Schematic(this.schematicAsset); //load schematic
schematic.PlaySchematic(null, machineObject, startObject, false, MachineUpdateType.Update); //execute schematic
}
}
only getting these errors now
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!