Source



By using a Source script, new movable units (MUs) can be generated. MUs can be generated in intervals or automatically generated once the last generated MU has travelled a certain distance away from the source. This is useful to automatically generate MUs on a conveyor. The object with the Source script attached to, is like a template. Each time a MU is created, the Source creates a new instance of the object under the defined root Destination in the scene hierarchy.

The source can also manually create (MUs) when you press ā€œCā€. The source will deletw all generated (MUs) when you press ā€œDā€ on the keyboard.

This is the property window of the source:

Public properties and methods

Please check the Game4Automation Class Reference for more information about the properties and methods of this component.

© 2019 in2Sight GmbH https://game4automation.com - All rights reserved. No part of this publication may be reproduced, distributed, or transmitted in any form or by any means, including printing, saving, photocopying, recording, or other electronic or mechanical methods, without the prior written permission of the publisher.