dongju.jeong Posted October 18, 2018 Posted October 18, 2018 In example, A component is assigned only by just assigning an property to a node. then if I want assign just only "MyComponentProperty" property, what should I do?
morbid Posted October 18, 2018 Posted October 18, 2018 It's unclear to me where's the problem 2 hours ago, dongju.jeong said: if I want assign just only "MyComponentProperty" property, what should I do? If you want to assign a property then use a code sample from the documentation (the one on the attached screenshot). You also need to register a component: https://developer.unigine.com/en/docs/2.7.2/code/usage/using_component_system/index#register_component Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
dongju.jeong Posted October 19, 2018 Author Posted October 19, 2018 If I assign a "A" property to a node, the component system will work on that node. But if I want to assign the "A" property to another node and I do not want a component system this time, should I create another property with the same content?
fox Posted October 19, 2018 Posted October 19, 2018 Hi dongju.jeong, Components are added by the Component System based on properties assigned no nodes. So, in your case, you'll have to create a "B" property with the same content. Thank you!
Recommended Posts