Hello, I am having difficulties adding custom behavior to the NotifyAttached() method in the Anchor class since I cannot inherit from Anchor in a custom class. I do not want this behavior to apply to all anchors, only specific ones.
Essentially what I am trying to do is to have a display change based on which anchorable object is attached to it.
So if there are 3 cameras with corresponding render textures and I want to switch between those render textures on a quad for example by anchoring different anchors on it what is the best way to go about this?
A better description is the quad's texture will change based on the anchorable object attached to it and that object's corresponding texture. Also the anchorable object must then either move, scale, or turn transparent so as to not impede the quad/display.
My first thought was to create a custom class and inherit from Anchor, but since none of the methods in Anchor are marked as virtual this is not possible as far as I'm aware.
Any help would be greatly appreciated!