You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Settings tab: Browse scripts folder goes to inside scripts folder now, Add Fetch button for init script, Init script field is now URL or local file path (to fetch init script), set default init URL to my example init script repo, init script is always fixed "InitializeProject.cs", add init script downloader, remove old "customInitFile" setting, add new setting "customInitFileURL", fixes#114
<CheckBoxx:Name="chkUseInitScript"Content="Use Init script for new projects"ToolTip="..."HorizontalAlignment="Left"Checked="chkUseInitScript_Checked"Unchecked="chkUseInitScript_Checked"/>
651
-
<!--<Label Content="Init script for new projects" Foreground="{DynamicResource ThemeButtonForeground}" HorizontalAlignment="Left" />-->
652
-
<TextBoxx:Name="txtCustomInitFile"BorderBrush="Transparent"MinWidth="128"ToolTip="Default is InitProject.cs"Padding="0,3,0,0"Margin="5,0,0,0"CaretBrush="{DynamicResource ThemeSearchCaret}"Background="{DynamicResource ThemeTextBoxBackground}"SelectionBrush="{DynamicResource ThemeSearchSelection}"Foreground="{DynamicResource ThemeSearchForeground}"Text="InitializeProject.cs"PreviewKeyDown="txtCustomInitFile_PreviewKeyDown"LostFocus="txtCustomInitFile_LostFocus" />
<CheckBoxx:Name="chkUseInitScript"Content="Use Init script for new projects"ToolTip="Runs editor script on new project (to do custom setup)"HorizontalAlignment="Left"Checked="chkUseInitScript_Checked"Unchecked="chkUseInitScript_Checked"/>
651
+
<TextBoxx:Name="txtCustomInitFileURL"BorderBrush="Transparent"MinWidth="191"MaxWidth="191"ToolTip="URL OR local folder to fetch init file from (NOTE: Not automatically fetched, only if press Fetch button)"Padding="0,3,0,0"Margin="5,0,0,0"CaretBrush="{DynamicResource ThemeSearchCaret}"Background="{DynamicResource ThemeTextBoxBackground}"SelectionBrush="{DynamicResource ThemeSearchSelection}"Foreground="{DynamicResource ThemeSearchForeground}"Text="https://raw.githubusercontent.com/unitycoder/UnityInitializeProject/main/Assets/Editor/InitializeProject.cs"PreviewKeyDown="txtCustomInitFileURL_PreviewKeyDown"LostFocus="txtCustomInitFileURL_LostFocus" />
<ButtonStyle="{StaticResource CustomButton}"x:Name="btnFetchLatestInitScript"Margin="5,0,0,0"FontSize="11"Height="24"BorderBrush="{x:Null}"HorizontalAlignment="Left"VerticalAlignment="Top"ToolTip="Copies latest script from this location (Renames existing script as *.bak)"Click="btnFetchLatestInitScript_Click">
<TextBoxx:Name="txtWebglRelativePath"BorderBrush="Transparent"CaretBrush="{DynamicResource ThemeSearchCaret}"Background="{DynamicResource ThemeTextBoxBackground}"SelectionBrush="{DynamicResource ThemeSearchSelection}"Foreground="{DynamicResource ThemeSearchForeground}"MinWidth="192"ToolTip="Inside Builds/ folder you might have separate folder for webgl builds, like webgl/. Used for starting WebGL server there"Padding="0,3,0,0"TextChanged="TxtWebglRelativePath_TextChanged" />
0 commit comments