1.c# sealed keyword, can be understood as sealed, cannot be inherited for methods and properties must be combined with override (corresponding to the final in Java when the final modifier variable corresponds to the readonly in C #)
2.vritual virtual itself can have implementation subclasses can choose to override abstract abstraction itself cannot have implementation subclass must be implemented
3.new overwrite override overrides do not change the function of the parent class itself base B = new Base ()
4. Overriding when creating a parent class with a subclass overrides the ability to invoke subclasses without Base B = new Child ()
4. Collision occurs for two collider A and B when and only if AB is not trigger, and the Oncollisionenter has a party trigger Both sides will enter the Ontriggerenter and shield the collision (so Raycast and linecast are not detected)
5. When judging the equal time = = or. Equal you can avoid null on the left when you leave the constant on the left. Eqaul exceptions and can detect less an equal sign
About C # Some keywords and unity Trigger