using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class maincontroller : MonoBehaviour
{
public RotateBlue blue;
public RotateRed red;
public bool redactive = false;
public bool blueactive = true;
// Start is called before the first frame update
void Start()
{
blue.isActive = blueactive;
}
// Update is called once per frame
void Update()
{
}
public void OnSwap()
{
Debug.Log("Swap");
redactive = !redactive;
blueactive = !blueactive;
blue.isActive = blueactive;
red.isActive = redactive;
}
}