my code is
switch ((Coralator.BlockIn(MovmentToVector(), mov) != null), (Coralator.BlockIn(MovmentToVector(), mov).PartContainer.PartAttributeCheck(Part.PartAttribute.Unenterable) && !Coralator.BlockIn(MovmentToVector(), mov).PartContainer.PartAttributeCheck(Part.PartAttribute.Pushable)))
{
case (false, _):
{
PartMov(mov);
break;
}
case (true, true):
{
PartMov(mov);
break;
}
case (_, _):
{
break;
}
}
and the c# compiler says it’s fine and unity states that it has 14 errors.
i tried adding a semicolon in the end and removing the curly brackets inside the cases.
help?