Thank you for the reply. I’m using Unity 5.3.5f1 on Windows 10.
Yes, I was using crossed referenced subtrees. I wasn’t aware that was a problem, although honestly I was surprised when it worked. I removed it and it seems to be back to normal.
The disappearing subtrees however, I remember that starting before unity crashed the first time and I thought before I added the cross referenced subtree. It seemed to happen after I renamed some of the subtrees, or rather added a name to the node that points to the subtree. But I’ll see if it happens again after removing the cross reference, maybe my memory is wrong.
The interface I tried has three methods, no properties. Interface members are public by default:
1
2
3
4
5
6
publicinterfaceIInteractable
{
Vector2 GetPosition();
boolActivate(boolactivate=true);
InteractableType GetInteractableType();
}
They way I was trying to use it: On an execute method action, I have a gameobject that has a “public class Door : MonoBehaviour, IInteractables” component. In code I access the methods through the IInteractables interface. In this case I added “Door” as a custom variable and that shows up on the list. Which works, but it seems like the interface should work too.
Yes that’s one of the places I was looking for Time. I just thought it was odd that there seems to be no way to get to the time class, but I’m just going to write custom conditions for the time based conditions I need. I also figured out the input issue.
That just leaves the selection box issue, which is just a minor annoyance.
So hopefully things are mostly resolved. Thanks again.
Login
Register
By registering on this website you agree to our Privacy Policy.